<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Title</title>
</head>
<body>
<form:form action="add" method="post" modelAttribute="user">
    id:<input name="id" type="text" value="${user.id}"/><form:errors path="id"/><br>
     姓名:<form:input path="name"/><form:errors path="name"/><br>
    birth:<input name="birth" type="text"/><form:errors path="birth"/> <br/>
    <spring:message code="buttonName2"/>
    <input type="submit" value="submit"><br/>
</form:form>
<%-- ps:path对应name --%>
</body>
<script type="text/javascript" src="/static/js/jquery-1.11.2.min.js"></script>
<script>

</script>
</html>
